<script lang="tsx">
import { defineComponent } from 'vue'
import { oInputProps } from 'oneui/form'
import { ElInput } from 'element-plus'
export default defineComponent({
  name: 'GlobalInput',
  props: oInputProps,
  setup(props: any, context) {
    console.log('props', props, context)
    return () => (
      <div>
        全局注册
        <ElInput v-model={props.formData[props.prop]} />
      </div>
    )
  }
})
</script>
<style lang="scss" scoped></style>
